package com.teach.food.controller;
/**
 * 商家控制器
 * @author DELL
 *
 */

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.teach.food.service.FoodMerchantService;
@Controller
@RequestMapping("/food/foodmerchant")
public class FoodMerchantController {
	@Autowired
	private FoodMerchantService service;
	@ResponseBody
	@RequestMapping("get.do")
	public Object doget(Integer foodMerchantId) {
		return service.get(foodMerchantId);
	}
	
}
